package br.com.bibi.model;



import java.util.List;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cascade;
import org.hibernate.annotations.CascadeType;



@Entity
@Table(name="notas")
public class Notas {

	@Id	
	@GeneratedValue
	private int id;
	private String bimestre;
	private String n1;
	private String n2;
	private String n3;
	private String reposicao;
	private String recupecao;
	private String media;
	
	
	@ManyToOne
	private Disciplinas dis;

	@ManyToOne
	private Alunos al1;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBimestre() {
		return bimestre;
	}

	public void setBimestre(String bimestre) {
		this.bimestre = bimestre;
	}

	public String getN1() {
		return n1;
	}

	public void setN1(String n1) {
		this.n1 = n1;
	}

	public String getN2() {
		return n2;
	}

	public void setN2(String n2) {
		this.n2 = n2;
	}

	public String getN3() {
		return n3;
	}

	public void setN3(String n3) {
		this.n3 = n3;
	}

	public String getReposicao() {
		return reposicao;
	}

	public void setReposicao(String reposicao) {
		this.reposicao = reposicao;
	}

	public String getRecupecao() {
		return recupecao;
	}

	public void setRecupecao(String recupecao) {
		this.recupecao = recupecao;
	}

	public String getMedia() {
		return media;
	}

	public void setMedia(String media) {
		this.media = media;
	}

	public Disciplinas getDis() {
		return dis;
	}

	public void setDis(Disciplinas dis) {
		this.dis = dis;
	}

	public Alunos getAl1() {
		return al1;
	}

	public void setAl1(Alunos al1) {
		this.al1 = al1;
	}


	
	
	

}
